package com.hdaccp.foodsales.dao;

import com.hdaccp.foodsales.entity.Shangpin;

import com.hdaccp.foodsales.pojo.sptypeBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface shangpinDao {
    public long getTotalCount(@Param("sname") String sname) ;
    public List<Shangpin> query(@Param("sname") String sname, @Param("offset") int offset, @Param("limit") int limit) ;
    public Shangpin  getsid(int sid);
    public List<sptypeBean> qeurytype();

}
